from selenium import webdriver

from selenium.webdriver.chrome.service import Service as ChromeService
path='./chromedriver-win64/chromedriver.exe'
options = webdriver.ChromeOptions()
options.add_experimental_option('detach', True)
service = ChromeService(executable_path=path)
driver = webdriver.Chrome(service=service,options=options)
driver.get("https://www.baidu.com")
